namespace PickGold.Charting
{
    using System;
    using System.Security.Permissions;
    using System.Web;

    [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal), AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)]
    public class CustomizeLegendEventArgs : EventArgs
    {
        private LegendItemsCollection _legendItems;
        private string _legendName;

        private CustomizeLegendEventArgs()
        {
            this._legendName = "";
        }

        public CustomizeLegendEventArgs(LegendItemsCollection legendItems)
        {
            this._legendName = "";
            this._legendItems = legendItems;
        }

        public CustomizeLegendEventArgs(LegendItemsCollection legendItems, string legendName)
        {
            this._legendName = "";
            this._legendItems = legendItems;
            this._legendName = legendName;
        }

        public LegendItemsCollection LegendItems
        {
            get
            {
                return this._legendItems;
            }
        }

        public string LegendName
        {
            get
            {
                return this._legendName;
            }
        }
    }
}

